﻿using System;
using KPIS.GERP.GIMS.MODEL;
using System.Collections.Generic;

namespace KPIS.GERP.GIMS.IDAL
{
    public interface IDALMasterPurchaseRule
    {
        IList<MasterPurchaseRuleInfo> GetMasterPurchaseRule();
        IList<MasterPurchaseRuleInfo> GetMasterPurchaseRule(string record_status);
        MasterPurchaseRuleInfo GetMasterPurchaseRule(int seq);
        void Insert(MasterPurchaseRuleInfo info, IList<MasterPurchaseRuleMappingInfo> infoList);
        void Update(MasterPurchaseRuleInfo info, IList<MasterPurchaseRuleMappingInfo> infoList);
        void Delete(MasterPurchaseRuleInfo info);
        void DeleteAll(IList<MasterPurchaseRuleInfo> infoList);
        void DeleteFromDB(IList<MasterPurchaseRuleInfo> infoList);
        void Restore(IList<MasterPurchaseRuleInfo> infoList);
    }
}
